//
//  GMInputViewPluginView.h
//  Gmall
//
//  Created by yemeihua on 15/11/25.
//  Copyright © 2015年 Gmall. All rights reserved.
//

#import <UIKit/UIKit.h>

@class GMInputViewPluginView;

@protocol GMInputViewPluginViewDelegate <NSObject>

- (void)pluginView:(GMInputViewPluginView *)view didTouchUpInsideItem:(NSDictionary *)item;

@end

@interface GMInputViewPluginView : UIView

@property (nonatomic,weak) id<GMInputViewPluginViewDelegate> delegate;
@property (nonatomic,strong) NSMutableArray<UIButton *> *buttons;
@property (nonatomic,strong) NSMutableArray<NSDictionary *> *items;

- (instancetype)initWithFrame:(CGRect)frame titleItems:(NSArray<NSDictionary *> *)titleItems imageItems:(NSArray<NSDictionary *> *)imageItems;

@end
